Use NSUserDefaults to apply patches.