Uncommented loginButton.setEnabled(false);

needed for phones without bluetooth