Save the user config when quitting.
Reselect the mode/rule from the saved properties