Since a bool can be true with a nonzero value other than YES, it's a bit safer to say (altsem ? ...) vs (altsm == YES ? ...). Same in setBackgroundColor: