new settings: keep_layout and keep_groups instead of singel save_and_restore