Bug: app crash because of settings file