Erase cells and proper mapping of cell colours.