Add delete function with button