(Menu) Refactor menu_action_ok for ST_DIR settings