ensuring input field gets updated when selecting color from the color picker tile