Commiting mainmenuactivity