Fix settingsManager.js init validity loop