Added defaults for the preferences values using registerDefaults: in NSUserDefaults.