title: UIButton image not properly set when handled with tags
body: <p>In the prototype cell as no IBOutlet can be given so I got a handle on my UIbutton with a tag. But when setting the image for the button in <code>cellForRowAtIndexPath</code> method its not showing the correct image for enable and disabled state.</p>
  
  <p>in cellForRowIndexPath:</p>
  
  <pre><code>if([cellIdentifier isEqualToString:CELL_ID_COMPLIANCE])
      _infoButton = (UIButton *)[cell viewWithTag:800];
  else
      _infoButton = (UIButton *)[cell viewWithTag:900];
  
  if([[comments objectAtIndex:kEntitlementComment] length] &gt; 0){
      _infoButton.enabled= YES;
      [_infoButton setImage:[UIImage imageNamed:@"icon_info.png"] forState:UIControlStateNormal];
      TRACELOG(@"the coments :%@", [comments objectAtIndex:kEntitlementComment]);
      }
  else{
      _infoButton.enabled= NO;
      [_infoButton setImage:[UIImage imageNamed:@"info_icon_disabled.png"] forState:UIControlStateDisabled];
      }
  </code></pre>
  
  <p>I have two kind of prototype cells in the table but the button images are only of two kinds. I also tried     </p>
  
  <pre><code>[self performSelectorOnMainThread:@selector(doButtonSettings:) 
  </code></pre>
  
  <p>with</p>
  
  <pre><code>Object:textArray waitUntilDone:YES]; 
  </code></pre>
  
  <p>in the selector I am setting the images for the button. As you know the buttonType is a private setter so cant be changed dynamically. How do i make button images consistent with the conditions?</p>