Fixed crash after uninstalling and trying to connect