Outline does not remember state—expands when note is edited, when app is relaunched, etc

Similarly to what have been done with remembering the fold of headings and list in notes, I thought it would be great if it was possible to also retain the fold we do in the outline pane.