// -------------------------------
// STEP Management
// --------------------------------------------------------------------------
// -------------------------------
public void changeStep() {
BatchViewer viewer = getBatchViewerPanel();
if (viewer != null) {
int selectedIndex = viewer.getSelectedRowIndex();
if (selectedIndex >= 0) {
Step currentStep = sequencer.getBatch().getStep(selectedIndex);
BossaNovaData.getSingleton().getApplication().setSelectedStep(selectedIndex, currentStep);
// if a batch is running and the selected step were already