public void searchNotifications() {

    List<Entity> searchs = DataFramework.getInstance().getEntityList("search");

    for (int i = 0; i < searchs.size(); i++) {
      if (searchs.get(i).getInt("notifications") == 1
          && !PreferenceUtils.getStatusWorkApp(context)) {
        EntitySearch es = new EntitySearch(searchs.get(i).getId());

        if (type != OnAlarmReceiver.ALARM_ONLY_OTHERS) {
          InfoSaveTweets info = es.saveTweets(context, true, -1);
          if (info.getNewMessages() > 0 && searchs.get(i).getInt("notifications_bar") == 1) {
            showSearchNotifications = true;
          }
        }

        int count = es.getValueNewCount();

        totalSearchesAWD += count;

        if (searchs.get(i).getInt("notifications_bar") == 1) {
          SearchNotifications sn = new SearchNotifications();
          sn.setTotal(count);
          sn.setName(searchs.get(i).getString("name"));
          mSearchNotifications.add(sn);
        }
      }
    }
  }