Added test to reset the colourlist on attribute change
The Colourlist is now reseted whenever the user picks a different attribute for colouring