Add the config box in MainWindow