fixed a bug where the focus was being removed from the grid
Added the ability to invert the colors