Update the alpha field when the color is selected.