Added important synchronize call to each time NSUserDefaults are updated so that changes persist even if the application crashes