Adding an API method to reopen a note.
Basic functionality for reopening notes.
Still needs some polishing like creating an icon for it
Cleaning up the note reopening feature
Fixing alignment of reopen button
Setting appropriate activation state for buttons based on selected note