clear selection while deleting item