Save colour on edit