Refactor load_menu_content