Now correctly sets the chosen background color and additionally sets another (configurable) color to the selected value.