Pressing enter without any other buttons activated now activates the enter button; initConnection() is made when you press enter