Abstracted the colour toggling