public MainWindow()
        {
            InitializeComponent();

            string mobileServiceOfflineRuntimeURL = Settings.Default.MobileServiceOfflineRuntimeUrl;
            string mobileServiceOfflineRuntimeKey = Settings.Default.MobileServiceOfflineRuntimeKey;
            string mobileServiceNormalRuntimeURL = Settings.Default.MobileServiceNormalRuntimeUrl;
            string mobileServiceNormalRuntimeKey = Settings.Default.MobileServiceNormalRuntimeKey;
            string tagExpression = Settings.Default.TagExpression;

            this.syncService.Text = mobileServiceOfflineRuntimeURL ?? string.Empty;
            this.syncServiceKey.Text = mobileServiceOfflineRuntimeKey ?? string.Empty;
            this.noSyncService.Text = mobileServiceNormalRuntimeURL ?? string.Empty;
            this.noSyncServiceKey.Text = mobileServiceNormalRuntimeKey ?? string.Empty;
            this.tag.Text = tagExpression ?? string.Empty;

            // Setup the groups data source
            groups = new ObservableCollection<GroupDescription>();
            tests = new ObservableCollection<TestDescription>();
            CollectionViewSource src = (CollectionViewSource)this.Resources["cvsTests"];
            src.Source = tests;

            this.traffic = new NetworkTraffic(Process.GetCurrentProcess().Id);
            this.stopwatch = new Stopwatch();

            Loaded += (s, e) => this.runTests.Focus();
        }