changing mainmenu_click now checks clicks on buttons