Fixed bug where settings were getting reseted beyond a first install.