stub function switchMenuState