Fixed a bug where the app would not reflect changes to the preferences.