Fixed saving of the new options from the dialog.

This slightly slipped on the latest pull request, the options dialog was modified to show the new formatting options, but the settings were not saved.