title: UIButton wont show title
body: <p>I have a UIbutton title that I set with </p>
  
  <pre><code>[[buttons objectAtIndex:selectedButtonTag] setTitle:file forState:UIControlStateNormal];
  </code></pre>
  
  <p>This for some reason doesnt force the button to change title.</p>
  
  <p>When I print the title of the button with</p>
  
  <pre><code>UIButton *button = [buttons objectAtIndex:selectedButtonTag];
  NSLog(@"button text is %@",button.titleLabel.text);
  </code></pre>
  
  <p>It actually  prints the previously set title.</p>
  
  <p>Is there some refresh call on the UI or why isnt the button displaying the title?</p>