Code refactored.
Moved UI construction & setting layout constraints to the separate view class, changed color selection controller accordingly, added missed comments.