- set the edited flag to true when the note is edited
- make the note text wrap