Fix: Multithreading on overlaymenu

Added synchronization blocks to ColorSquare.java