public void handleBuildButton() {
    	aTuringMachine.getInput().clear();
        aTuringMachine.getInput().add("Blank Symbol");
        for(int i = 0; i < 31; i++){
            if((inputView.getInputLabels(i).getText().trim().equals("")) || (inputView.getInputLabels(i).getText().trim().equals("|_|"))){
                aTuringMachine.getInput().add("Blank Symbol");                
            }
            else{
                aTuringMachine.getInput().add(inputView.getInputLabels(i).getText().trim());
            }
        }   
        aTuringMachine.getInput().add("Blank Symbol");
        simulationView.setInput(aTuringMachine.getInput());
        cards.show(mainPanel,"5");             
        simulationView.getSaveMachineButton().setEnabled(true);
        simulationView.getRunButton().setText("Start");
        simulationView.getSlider().setEnabled(true);
        simulationView.getState().setText(aTuringMachine.getCurrentState());
        simulationView.getState().setFont(new Font("arial", Font.BOLD,12));
        simulationView.getState().setForeground(Color.black);
        simulationView.getPrintError().setText(""); 
        simulationView.setPrintOrder(-1);
        simulationView.repaint();
    }