private void SetAutoRefresh(bool refreshStatus) { if (refreshStatus) { BasicConfig.SetXmlTextOfTag("AutoRefresh", "true"); } else { BasicConfig.SetXmlTextOfTag("AutoRefresh", "false"); } }