@Override
 public void closeView() {
   try {
     ((VisitTabContentFactory) _tabFactory).close();
   } catch (IOException e) {
     e.printStackTrace();
   }
   super.closeView();
 }
 @Override
 protected void onVisibilityChanged(View changedView, int visibility) {
   super.onVisibilityChanged(changedView, visibility);
   visibilityControl();
 }
 @Override
 public void onTabChanged(String tabId) {
   super.onTabChanged(tabId);
   ((VisitTabContentFactory) _tabFactory).refreshTab(tabId);
 }