Fixing load COM port bug

Loading from .cfg file procedure was wrong. Fixed.