Be consistent with a style, why don't use ternary operator same way as you do above:
`[bluekai_userDefaults setObject:(optIn ? @"YES" : @"NO") forKey:@"KeyToUserData"]`;