public void addDays(){
		this.removeAll();
		this.panel.removeAll();

		for(int i = 1; i <= this.model.getMaxDays(); i++){
			Button button = new Button(i + "");
			button.setEnabled(false);
			boolean isBlack = false;
			for(Integer integer : this.model.getList()){
				if(integer.equals(i)){
					isBlack = true;
					button.setBackground(Color.BLACK);
					button.addActionListener(new DayController(this.db, this.model.getPictures(i), this.files));
					button.setActionCommand("Day");
					this.revalidate();
				}else{
				}
			}
			button.setVisible(true);
			if(isBlack) {
				button.setEnabled(true);
			}
			
			this.panel.add(button);
			this.add(this.panel, BorderLayout.CENTER);
			
			revalidate();
		}
		
		revalidate();
	}