Make main menu work