Pin/unpin and save changes

Added pin/unpin on click, added save icon in note editor.