Added -synchronize method call to every registration operation

`-synchronize` should be called after `set` operations to prevent data loss, in case of an app crash or something else. Otherwise `NSUserDefaults` calls this method after some time, but to be sure, it's better we manually call it.