NSInteger initialIndex = configPopup.indexOfSelectedItem;
[configPopup.menu removeAllItems];
for (Config *config in configsController.configs) {
NSInteger initialIndex = configPopup.indexOfSelectedItem;
[configPopup.menu removeAllItems];
for (Config *config in configsController.configs) {