private void loadfirst() {
   try {
     if (controllerb.connect().equals("ok")) {
       controllerb.loadEventsWithServicesAndPayments();
       homeDataList = controllerb.getHomeData();
       setData(homeDataList);
       refresh();
     } else {
       System.out.println(controllerb.connect());
     }
   } catch (Exception e) {
     // e.printStackTrace();
     System.out.println(e.getMessage());
   }
 }
 public void search() {
   try {
     if (controllerb.connect().equals("ok")) {
       controllerb.searchEventsWithServicesAndPayments(category, txtSearch.getText().toString());
       homeDataList = controllerb.getHomeData();
       setData(homeDataList);
       refresh();
     } else {
       System.out.println(controllerb.connect());
     }
   } catch (Exception e1) {
     // e1.printStackTrace();
     System.out.println(e1.getMessage());
   }
 }