Use global prefs instead of one relying on GUI elements