Out of memory issue when changing lottie animation

I’ve made it work @Horizon @iaditya_nanda :partying_face:
We have to use different Lottie components and make them make them visible and invisible on the click of the button instead of changing the source. Also , make the default state of the Lottie animation as invisible.