title: How to set a custom View Controller when clicking a "Back" button in Navigation Bar?
body: <p>I had two Table View Controllers and they are connected each other by "segues" in Storyboard. Then I've cut the "segues" and insert another controller. And connection now is not through "segues". To connect the views I'm using the code: </p>
  
  <pre><code>UIStoryboard *storyboard = self.storyboard;
  OptionsViewController *options = [storyboard instantiateViewControllerWithIdentifier:@"OptionsViewController"]
  [self.navigationController pushViewController:options animated:YES];
  </code></pre>
  
  <p>And now when I'm clicking a "Back" button in navigation bar my program crashes. How to fix it?</p>
  
  <p>Console shows (After view loaded, before I've pressed the "Back" button.): "nested push animation can result in corrupted navigation bar"
                 "Finishing up a navigation transition in an unexpected state. Navigation Bar subview tree might get corrupted."</p>
  
  <p>After I've pressed the "Back" button: "terminating with uncaught exception of type NSException"</p>
  
  <p>Navigation Controller is the initial controller in my storyboard, but the Views are not connected each other.</p>
  
  <p>FIXED: I've just set the "animated:NO" at the end of my code.</p>