Synchronize NSUserDefaults after updating count.