             Zephyr.printKeySyncStatus(key, value: value, destination: .Remote)
         }
 
-        if Zephyr.syncUbiquityStoreOnChange {
+        if Zephyr.syncUbiquitousStoreKeyValueStoreOnChange {
             ubiquitousStore.synchronize()
         }
 

        NSNotificationCenter.defaultCenter().addObserver(self, selector: "willEnterForeground:", name:
            UIApplicationWillEnterForegroundNotification, object: nil)

        let ubiquitousStore = NSUbiquitousKeyValueStore.defaultStore()
        ubiquitousStore.synchronize()
    }



                unregisterObserver(key)
                ubiquitousStore.setObject(value, forKey: key)
                Zephyr.printKeySyncStatus(key, value: value, destination: .Remote)
                if Zephyr.syncUbiquitousStoreKeyValueStoreOnChange {
                    ubiquitousStore.synchronize()
                }
                registerObserver(key)
