@Override protected void onPostCreate(Bundle savedInstanceState) { super.onPostCreate(savedInstanceState); // if the graph was not already restored if (!getTabHost().getCurrentTabTag().equals("tab_graphs")) { support.onCreate(savedInstanceState); } }