iOS 6 fix for user preferences.

user preferences didn't seem to be working, so these changes fix that.
Apple iOS Programming Guide on Preferences and Settings:
http://developer.apple.com/library/ios/#documentation/Cocoa/Conceptual/U
serDefaults/AccessingPreferenceValues/AccessingPreferenceValues.html