Save selected options and restore on startup.