private int setTab(TimeFilter filter){
        switch(filter){
                    case TODAY:
                        return 1;
                    case TOMORROW:
                        return 2;
                    case THIS_WEEK:
                        return 3;
                    case OLD:
                        return 4;
                    default:
                        return 0;
                }
    }