Small refactor to main_menu