Fixed the connect button state bug and cleaned up the code.
Merge branch 'master' of github.com:DimitarUzunov/relaxis