Be sure to update the layer after changing the color