Fixed palette click problem in Spectrum.

The app wasn't passing the color value to MQTT if you click several
different colors in the palette, then choose the color that was
active when the dialog was shown.