I am using a custom function that keeps track of what color a cell is. But there is a problem in that this function does not update