Implemented mouse clicking for palette choosing and score display