Add delete action on list view controller and use it to delete a record