Made menumanager compatible with stateManager.