use SaveSetting and GetSetting to read and write from the registry