I have a button with title Fun whitch is set from the storyboard
In viewDidLoad I change the title
self.catBut.titleLabel.text = @"Random";
And then when another button is click
UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Title alert" message:@"Alert message" delegate:nil cancelButtonTitle:@"OK" otherButtonTitles:nil, nil];
[alert show];
But after the alert shows up the title of the button change back to Fun