Option and enter event to change the port