@Override
    public void actionPerformed(ActionEvent event) {
        if (event.getSource() == setBPMButton) {
            try {
                bpmTextField.commitEdit();
                bpmSetEvent();
            } catch (ParseException e) {
                bpmTextField.setText((String) bpmTextField.getValue());
            }
        } else if (event.getSource() == increaseBPMButton) {
            System.out.println("increase clicked");
            bpmIncreasedEvent();
        } else if (event.getSource() == decreaseBPMButton) {
            System.out.println("decreased clicked");
            bpmDecreasedEvent();
        } else {
            System.out.println("else");
        }
    }