finish custom tableview and deleting cell