Add delete note view function