@Override
    public boolean include(Task t) {
        
        if (viewUtils.getInstance().getSelecteditem().getDataUnitItem() == arraysitems[0] && t.isCompleted())
            return true;
         
        if(viewUtils.getInstance().getSelecteditem().getDataUnitItem() == arraysitems[1] && t.isCompleted()==false)
        return true;
        
        return false;
    }