Turn menu_action_handle_setting into a static function