fix(settings): save user settings can crash when the appFolder does not exist