title: How to update UILabel in applicationDidBecomeActive
body: <p>I need help with updating a label through in <code>applicationDidBecomeActive</code>. The way my project is structured, I have a RootViewController. When the user touches a button, a new view controller is opened through <code>presentModalView</code>. I want to update the label on this view controller each time the application becomes active. This is my code in my app delegate: </p>
  
  <pre><code>WordList1 *viewController1 = [[WordList1 alloc] initWithNibName:@"WordList1" bundle:nil];
  [viewController1 changelabel:counter];
  [viewController1 release];
  </code></pre>
  
  <p>And it calls this function in my WordList1 viewcontroller to update the label each time: </p>
  
  <pre><code>  - (void) changelabel:(int)counter {
      NSString *string = [NSString stringWithFormat:@"%d", counter];  
      label.text = string;
  }
  </code></pre>
  
  <p>When I run it through debugger, the value of "counter" and "string" are updating, but the label is not changing values. Please help</p>