Added animations switch activities

- Corrected bugs
+ Added animations switching activities