Text color is note properly stored in attributed strings.

In order for text color to be properly shown in an attributed string,
the color must be under the key NSForegroundColorAttributeName in the
attributes dictionary and be of type UIColor