Add delete function for note