Fake cursor: dynamicaly set the color.
Simplify setUIColor function.