Get rid of test code that shouldn't have been pushed to git in previous commit
Using the 'Connect' button now also works if the 'Auto connect' checkbox was not checked initially and the user choose new database information