use .remove() instead of .empty() because new grid table is appended each time generate_grid is executed
allow multiple colors on grid