Only set property color if color is valid.
Update property color when any selected object is changed.

Update custom properties when any selected object has been added or removed.