Added save settings to file