Fix bug in GUI, devicekind dropdown value was being returned as baddevice when unchanged