Fixed current device selection in config dialog.