Selected object color is defined a better way (not hardcoded in functions)