Add serial port initialization func. This func will initialize the selected serial port from the GUI and send a dummy message over serial port.