void getPreviousWavelength (){
		previousStateValues = FileManager.loadBackup();
		
		if(Integer.parseInt(previousStateValues.get(0)) == -1){
			previousStateValues.set(0, "0");
		}
		
		if(Integer.parseInt(previousStateValues.get(1)) == -1){
			previousStateValues.set(1, "0");
		}
		
		int conversion1 = Integer.parseInt(previousStateValues.get(0));
		int conversion2 = Integer.parseInt(previousStateValues.get(1));
			
		System.out.println(conversion1);
		System.out.println(conversion2);

		comboLaser1.setSelectedIndex(conversion1);
		comboLaser2.setSelectedIndex(conversion2);

		
		if(("" + comboLaser1.getSelectedItem()).compareTo("Wavelength L1") != 0 && ("" + comboLaser2.getSelectedItem()).compareTo("Wavelength L2") != 0){
			
			System.out.println("" + comboLaser1.getSelectedItem());
			double[] lecture1;
			double[] lecture2;

			lecture1 = FileManager.readValues(("" + comboLaser1.getSelectedItem()).replaceFirst(" nm", ".ml1"), 1);
			lecture2 = FileManager.readValues(("" + comboLaser2.getSelectedItem()).replaceFirst(" nm", ".ml2"), 2);
			
			for(int l = 0; l < 11; l++){
				calibrationLaser1[l] = lecture1[l];
				calibrationLaser2[l] = lecture2[2];
			}
		
			calibrationMemorised = true;
			
			sliderLaser1.setVisible(true);
			sliderLaser2.setVisible(true);
			labelSliderLaser1.setVisible(true);
			labelSliderLaser2.setVisible(true);	
			labelPointNumber.setVisible(true);
			buttonAdd.setVisible(true);
			buttonRemove.setVisible(true);
			buttonRemoveAll.setVisible(true);
			updateConsole();
		}
		allowBackupUpdate = true;
	}