Add guard for changeTransitionState