Fixed crashing bug in WPrefs.app/Preferences.c