public void updateLabels(){ //sets all the new labels depending on the board configuration
		int value;
		int index = 0;
		switch (gameMode) { //set labels differently depending on the game mode
			case "normal" :
				for (int r = 0; r < 4; r++) //labels will be counted left to right, up to down
					for (int c = 0; c < 4; c++) {
						value = board.BOARD[r][c];
						labels[index].setLabel(value);
						index ++;
					}
				break;
				
			case "cupcake":
				index = 0;
				for (int r = 0; r < 4; r++) 
					for (int c = 0; c < 4; c++) {
						value = board.BOARD[r][c];
						labels[index].setLabelCupcake(value);
						index++;
					}
				break;	
			case "randomColor":
				index = 0;
				for (int r = 0; r < 4; r++) 
					for (int c = 0; c < 4; c++) {
						value = board.BOARD[r][c];
						labels[index].setLabelRandom(value);
						index ++;
					}
				break;
		}
	}