add an id to the div in Notes.
Fix notes logic and UI.