title: iOS7: selector on UIBarButtonItem not executing the method
body: <p>I am <code>iOS</code> newbie. My app has multiple view controllers, so I abstracted the code as  </p>
  
  <p><strong>NavigationBar.h</strong></p>
  
  <pre><code>@interface NavigationBar : NSObject
  - (void) title: (NSString *) title withViewController: (UIViewController *) viewController;
  @end
  </code></pre>
  
  <p><strong>NavigationBar.m</strong>  </p>
  
  <pre><code>#import "NavigationBar.h"
  #import "PennyNavigationController.h"
  
  
  @implementation NavigationBar
  - (void)title:(NSString *)title withViewController:(UIViewController *)viewController {
      viewController.title = title;
      viewController.navigationItem.leftBarButtonItem = [[UIBarButtonItem alloc] initWithTitle:@"Menu"
                                                                                         style:UIBarButtonItemStyleBordered
                                                                                        target:(PennyNavigationController *) viewController.navigationController
                                                                                        action:@selector(showMenu)];
      viewController.navigationItem.rightBarButtonItem = [[UIBarButtonItem alloc] initWithImage:[self getImageNamed:@"Add" withDimension:30] style:UIBarButtonItemStylePlain target:self action:@selector(sayHello:)];
  
  }
  
  - (IBAction)sayHello:(id)sender
  {
      NSLog(@"add new transaction");
  }
  
  - (void)btnClicked:(id)sender {
  //    NSLog(@"add new transaction");
  }
  </code></pre>
  
  <p>When the app starts, and I click on <code>Add</code> image, I don't see the log, additionally I see that the app closes.  </p>
  
  <p>What am I doing wrong?  </p>
  
  <p>P.S: Seems I am doing exactly mentioned in <a href="https://stackoverflow.com/questions/7719237/add-a-custom-selector-to-a-uibarbuttonitem">Add a custom selector to a UIBarButtonItem</a>, but still it doesn't work</p>