@Override
	public void actionPerformed(ActionEvent e) {
		if(e.getSource() == startStop){
			if(recording){
				
				Recorder stopper = (Recorder) theRecorder;
				stopper.getLine().close();
				
				recording = false;
				startStop.setText("Start Recording");
				backButton.setEnabled(true);
				
			} else if(!recording) {
				record();
				recording = true;
				startStop.setText("Stop Recording");
				backButton.setEnabled(false);;
			}
		} else if(e.getSource() == backButton){
			backButtonPressed();
		}
	}