added a function that cell is not selected.