title: row is not getting deselected in UITableview cell animation
body: <pre><code>- (BOOL)cellIsSelected:(NSIndexPath *)indexPath 
  {
      // Return whether the cell at the specified index path is selected or not
      NSNumber *selectedIndex = [selectedIndexes objectForKey:indexPath];
      return selectedIndex == nil ? FALSE : [selectedIndex boolValue];
  }
  
  - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath 
  {
      // Deselect cell
      [tableView deselectRowAtIndexPath:indexPath animated:YES];
      // Toggle 'selected' state
      BOOL isSelected = ![self cellIsSelected:indexPath];
      // Store cell 'selected' state keyed on indexPath  
      NSNumber *selectedIndex = [NSNumber numberWithBool:isSelected];
      [selectedIndexes setObject:selectedIndex forKey:indexPath];   
      // This is where magic happens...
      [beveragesTableView beginUpdates];
      [beveragesTableView endUpdates];
  
      [selectedIndexes removeAllObjects];
  }
  
  - (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath 
  {
      // If our cell is selected, return double height
      if ([self cellIsSelected:indexPath] &amp;&amp; ![[descriptionTypeArray objectAtIndex:indexPath.row] isEqualToString:@" "]) 
      {
          return kCellHeight * 2.0;
      }
      // Cell isn't selected so return single height
      return  kCellHeight;
  }
  </code></pre>
  
  <p>selectedIndexes is an object ofNSMutableDictonary which is declared in .h file
  i have created tableview where it animates based upon description present in the cell or not .. while it animates , if i select a row the row size increases and when i tap on it once again the row size should go back to normal height , i am only able to do that when i select another row/cell , i want to cell to go back to normal height when i tap on the selected row .</p>