handling re-drawing cell colours