Save task to NSUserDefaults