adding support to some state changes with animation, eg. Idle to Complete or Idle to Error