title: OnCreateOptionsMenu is called for the wrong Fragment
body: <p>I have SherlockFragmentActivity with 3 fragments and ViewPager to swipe between them (in addition to ActionBar).</p>
  
  <p>Every SherlockFragment has its own menu and looks like this:</p>
  
  <pre class="lang-java prettyprint-override"><code>public class MyFragment1 extends SherlockFragment {
      private Menu menu;
      @Override
      public void onActivityCreated(Bundle savedInstanceState) {
          super.onActivityCreated(savedInstanceState);
          setHasOptionsMenu(true);
      }
  //...
      @Override
      public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {
          inflater.inflate(R.menu.fr1, menu);
          super.onCreateOptionsMenu(menu, inflater);
          this.menu = menu;
      }
  //...
  }
  </code></pre>
  
  <p>Other fragment classes look similar.</p>
  
  <p>You know, ViewPager instantiates two fragments at first activity launch. So, first executes <code>OnCreateView()</code> of the first fragment, then <code>OnCreateOptionsMenu()</code> of the first fragment, then <code>OnCreateView()</code> of the second fragment, and then <code>OnCreateOptionsMenu()</code> of the FIRST fragment AGAIN!</p>
  
  <p>Please help, I need to understand what I do wrong.</p>