Added delete button to edit view