Added click event for delete button