Fix saving of settings
Having a QSettings object open on kritarc for the duration of the application means it saves the settings it originally read on closing, overwriting anything kconfig could have written.