public EntrancePageStatRequest(boolean useCache, Listener<EntrancePageStatResponse> listener) {
   DateInterval dateInterval = SharedPreferencesHelper.getCurrentDateInterval();
   mStartDate = dateInterval.getStartDate();
   mEndDate = dateInterval.getEndDate();
   init(
       useCache,
       RequestHelper.RequestMethod.GET,
       URL,
       new HashMap<String, String>() {
         {
           put(API_TOKEN_PARAM_KEY, SharedPreferencesHelper.getToken());
           put("id", String.valueOf(SharedPreferencesHelper.getSelectedCounter().getCounterId()));
           put("date1", DateHelper.getStringFromDate(mStartDate));
           put("date2", DateHelper.getStringFromDate(mEndDate));
           put("table_mode", "tree");
           //                put("pretty", "1");
         }
       },
       EntrancePageStatResponse.class,
       listener);
 }