Move code over to menu_entries_cbs.c