// Select the new step.
BossaNovaData.getSingleton().getApplication().setSelectedStep(sequencer.getBatch().getStep(0), false);
MainScreen mainScreen = BossaNovaData.getSingleton().getApplication().getMainScreen();
if (mainScreen != null) {
mainScreen.enableStepButton();
}
}
}