Fixed coloring of selectedSquare