private void initializeTempoButtons() {
        TempoAdjustButton plus = new TempoAdjustButton(
                controller.getTempoPlus(), controller, il);
        TempoAdjustButton minus = new TempoAdjustButton(
                controller.getTempoMinus(), controller, il);
        plus.setPositive(true);
        minus.setPositive(false);
        StringProperty tempoDisplay = controller.getTempoIndicator()
                .textProperty();
        currTempo.bindBidirectional(tempoDisplay);
        plus.setStringProperty(currTempo);
        minus.setStringProperty(currTempo);
        StackPane tBox = controller.getTempoBox();

        tBox.setOnMousePressed(new EventHandler<MouseEvent>() {
            @Override
            public void handle(MouseEvent event) {
                try {
                    ProgramState curr = StateMachine.getState();
                    if (curr == ProgramState.EDITING) {
                        String tempo = Dialog.showTextDialog("Tempo");
                        StateMachine.setTempo(Double.parseDouble(tempo));
                        tempo = tempo.trim();
                        currTempo.setValue(tempo);
                    }
                } catch (NumberFormatException e) {
                    // Do nothing.
                }
                event.consume();
            }
        });
    }