title: Xamarin Android how to update layout elements while running a subactivty
body: <p>In the land of Android I am starting out. One thing that cannot seem to find is basic layman example how do this:</p>
  
  <p>Main activity - press a button
  Button calls a new activity
  New activity gets user selection of data stores selection to Activity Preferences.
  New activity finishes
  Back to Main activity - refresh UI with text of selection from previous activity.</p>
  
  <p>What I am running into that when the button click event run it calls the activity, but continues running the other functions. The updating of the text element runs immedidately after sub activity is called. I would like this to happen when the subactivity is finshed and returns control back the the main activity. </p>
  
  <p>Or more to the point - how to have the view of the resuming activity update with changes.</p>
  
  <pre><code>buttonTask.Click += delegate {
      Intent TaskSet = new Intent ();
      TaskSet.SetClass (this, typeof(TaskSelection));
      this.StartActivity(TaskSet);
      TaskName.Text= settingsRFID.GetString("TaskName","");
  };
  </code></pre>