Added delete button and events