Fixing a bug with resetting user defaults.