add option key listener in mainmenu state

add option key listener in mainmenu state