Added delayCheckBox to MainWindow