checkStatusButton.setEnabled(FBGWT.Init.isInitialized());
checkStatusForceReloadCheckbox.setEnabled(FBGWT.Init.isInitialized());
loginOptionsEditor.setEnabled(FBGWT.Init.isInitialized());
loginButton.setEnabled(FBGWT.Init.isInitialized());
FBGWT.Auth.addFBSessionChangeHandler(new FBSessionChangeHandler() {
@Override
public void onFBSessionChange(final FBSessionChangeEvent event) {
List<FBPermission> permissions = event.getApiResponse().getPermissions();
if (permissions.isEmpty()) {
FBGWT.Auth.retrieveLoginStatus(true, new AsyncCallback<FBAuthEventResponse>() {