Fixed serial port selection bug