mainmenu buttons and settingsmenu state