I am working on an iPad application, I have three buttons in it Button1, Button2 and Button3. Button1 and Button2 is to load data two different labels and based on these two buttons selection when we click the third button(Button3), the label value respective to the selected button either(Button 1 or Button2) is to be loaded is to be displayed. 

```
-(IBAction)btnCustomer
{
    SelectedButton.text = @"Customer";
}

-(IBAction)btnBranch
{
    SelectedButton.text = @"Branch";
}

-(IBAction)btnDisplay
{
    if(btnCustomer.selected == TRUE)
    {
        TitleLabel.text = @"btnCustomert is Selected";
    }
    else if(btnBranch.selected == TRUE)
    {
        TitleLabel.text = @"btnBranch is Selected";
    }
}

```

How can I do this? Any ideas will be helpful.