Added "Delete" function for deadlines