added possibility to clear all grid and select some cells