shell: Save settings automatically at closing a document
Remove 'Save curent settings as default` because it was confusing, and a non-standard action in the desktop.
Save exactly the same settings once we know the document will be closed, and when there is an actual document opened (e.g. not in recent view).
Fixes #1138 (closed)