Fixed Bug in 'Connect Button'