Make unselected blocks unvissible

Created fields, want to enable second click, which will disable green backgeround, and make it default (white). Also need to add function, which will make unvissible unclicked elements.

And also how to disable 4 many times clicking on 1 elenent)