v4.1 Preferences Fix

Fixes an issue where preferences would not save.

Fixes an issue where preferences would not save.