A sample to show usage of NSUserDefaults