/// <summary>
 /// Update the list of features
 /// </summary>
 internal void AddToListOfFeatures(string addItem)
 {
     lock (_listOfFeatures)
     {
         ProApp.Current.Dispatcher.BeginInvoke(new Action(() =>
         {
             ListOfFeatures.Add(addItem);
         }));
     }
 }
 /// <summary>
 /// Clear the list of features from any thread
 /// </summary>
 internal void ClearListOfFeatures()
 {
     lock (_listOfFeatures)
     {
         ProApp.Current.Dispatcher.BeginInvoke(new Action(() =>
         {
             ListOfFeatures.Clear();
         }));
     }
 }