private void setTitle(String title, boolean check){
        if(!check){
            this.title[0] = title;
            this.nTitle++;
            this.titleCheck = check;
        }
        else{
            if(!this.titleCheck){
                this.title[0] = title;
                this.nTitle++;
                this.titleCheck = check;
            }
            else{
                this.titleCheck = check;
                this.title[this.nTitle] = title;
                this.nTitle++;
            }
        }
    }