Added functional to possibility to start and stop activity with animation