Added listener's methods to change animation.