private void setGrouping() {
   switch (mAccount.grouping) {
     case DAY:
       itemDateFormat = localizedTimeFormat;
       break;
     case MONTH:
       itemDateFormat = new SimpleDateFormat("dd");
       break;
     case WEEK:
       itemDateFormat = new SimpleDateFormat("EEE");
       break;
     case YEAR:
     case NONE:
       itemDateFormat = Utils.localizedYearlessDateFormat();
   }
   restartGroupingLoader();
 }