Added stateChangeComplete event