Close the colour picker when changing files