Remove the cancel button from the preferences

As settings changes are applied instantly with GSettings, a cancel
button is not useful.
Move dialog setting saving to application window
Implement hiding of file header widget

Show the file header information if the file-show-header GSetting is
true.