Added additional states to the state machine to allow state machine to transition back to originating state after leveling.