@Override
 public void onSaveInstanceState(Bundle bundle) {
   activeCategory = viewPager.getCurrentItem();
   super.onSaveInstanceState(bundle);
 }
 @Override
 public void onDestroyView() {
   appBar.removeView(tabs);
   super.onDestroyView();
 }
 @Override
 public void onPause() {
   EventBus.getDefault().removeStickyEvent(LibraryMangasEvent.class);
   super.onPause();
 }
 @Override
 public void onCreate(Bundle savedInstanceState) {
   super.onCreate(savedInstanceState);
   setHasOptionsMenu(true);
 }