Created MenuStates to state machine