Should be NSInteger not NSUInteger for button clicked.