Added delete functionality to list view