public void changeAlarmStatus(boolean isOn) { agentUI.setAlarmStatus(isOn); if (isOn) { sequencer.start(); } else { sequencer.stop(); } }