Change the behaviour of the color counter