Trying to fix the takover of cells of different colors with the new typebutton