correct currentAction when handlers make state transitions