private void InitializeViewModelExecute() { this._filterProcessor = new FilterProcessor(); this.savedSearchHelper.StartSearch(); this.submittedSearchHelper.StartSearch(); this.currentParameters = new FilterParameters(); this.SearchInSavedString = string.Empty; this.SearchInSubmittedString = string.Empty; if (NavigationProvider.NavigationParameters.ContainsKey(Constants.FILTER_KEY)) { this.currentParameters = (FilterParameters)NavigationProvider.NavigationParameters[Constants.FILTER_KEY]; NavigationProvider.NavigationParameters.Remove(Constants.FILTER_KEY); this.SavedResponses = new ObservableCollection <ResponseSet>(_filterProcessor.FilterSavedResponseSet(currentParameters)); this.filteredSavedResults = this.SavedResponses; this.SubmittedResponses = new ObservableCollection <ResponseSet>(_filterProcessor.FilterSubmittedResponseSet(currentParameters)); this.filteredSubmittedResults = this.SubmittedResponses; } }