Added category to get top view controller
Added category for replacing attributed string with a color and isEqualToColor in UIColor