auto select serialport if only 1, improve file upload button ui