@Override
 public void pageActivated() {
   super.pageActivated();
   if (!isVisible()) {
     return;
   }
   // if filtering is requested
   if (!refreshOnPageActivated) {
     Intent intent = getActivity().getIntent();
     if (intent != null) {
       if (intent.hasExtra(EXTRA_ALBUM) || intent.hasExtra(EXTRA_TAG)) {
         refresh();
       }
     }
   }
 }