fixed a bug in the picker if the color was null.