Save at config, not at exit

Both Config.xml and KeyBindings.xml seem to be written when I exit Renoise, not when I close the Preferences dialog.

If you speed up the BPM and Renoise abnormally terminates, for example, you will lose the settings you have made so far.

It would be great if it would be written when setting up or closing the Preference dialog.