Add saving changes to settings outside of destructor.
FIXED: Crashed when opening font dropdown in theme dialog.