private void OnActivityRemoved(object sender, FunctionActivityEventArgs e)
 {
   ProcessDeletedActivity(e.Item);
 }
 private void OnActivityAdded(object sender, FunctionActivityEventArgs e)
 {
   ProcessNewActivity(e.Item);
 }