title: no callback to onOptionsMenuClosed(). and getting error in overriding onPanelClosed() functions
body: <p>I have a fragment which is made using PreferenceFragment ,where I am overriding onOptionsMenuClosed(). But , its the callback is not coming to it.Neither is the call back coming to OnMenuOpened(), OnPanelCosed()...</p>
  
  <p>This is what i have alredy tired.</p>
  
  <pre><code>@Override
  public void onOptionsMenuClosed(Menu menu) {
     // TODO Auto-generated method stub
     Log.e(TAG, "close optionmenu");
     super.onOptionsMenuClosed(menu);
  }
  </code></pre>
  
  <p>and for onPanelClosed this is what i am trying.</p>
  
  <pre><code>@Override
  public void onPanelClosed(int featureId, Menu menu) {
      Log.e(TAG,"on panel closed the feature id is vivek "+featureId);
      super.onPanelClosed(featureId, menu);
  }
  </code></pre>
  
  <p>and when i do that for onPanelClosed(),
  Please help me out with this..</p>
  
  <p>Please suggest where i am getting it wrong. and is tere any other way to catch if menu is closed without selecting any option.</p>