Adding timer in AnimationSystem