delete functionality done and one bug fixed related to row selection