added click to select & fixed deletions