Fixed stateID's in AnimatedButton class