Fixed a warning. Added a check/warning to translating a string into a UIColor to prevent crashes