Refactor menu_entries_push_list