Added function to delete current note.