Save the theme in localstorage.
Improvements in the auto-save behavior.