Help with mouse clicks and timing

Hi @M_L, there was a similar post about issues using the mouse to change the color of squares. Please see the solution here.