Refactor menu_common_settings_set