(Menu) Refactor more code in menu_action_ok to not be dependent
on menu setting IDs