UpdateConnectionString: added event return key press

UpdateConnectionString: added event return key press
SendConfig: removal of duplicate code (error on related commit)