Added a connection button. BUG: can not get isConnected property