public void clearFbUidInfo() {
    FriendTable.clear(context);
    synchronized (editorLock) {
      editor = prefs.edit();
      editor.remove(HAD_FB_SYNC);

      remove("!" + SCORE);
      remove("!" + HINTS);

      LevelPack[] packs = LevelPackTable.getAll(context);

      for (LevelPack pack : packs) remove("!" + getPackKey(pack.name));

      editor.commit();
      editor = null;
    }

    fbUID = 0;
  }
  public SyncData getSyncData() {
    long tmpUid = 0;
    if (!hadFbSync()) {
      tmpUid = fbUID;
      fbUID = 0;
    }

    SyncData syncData = new SyncData();
    syncData.hint_count = getHintsRemaining();
    syncData.xp_count = getScore();
    syncData.xp_level = Settings.getLevel(syncData.xp_count);
    syncData.promoCode = getPromoCode();

    for (LevelPack pack : LevelPackTable.getAll(context)) {
      int n = getLevelUnlocked(pack);
      if (n > 0) syncData.addLevelUnlock(pack, n);
    }

    if (tmpUid != 0) fbUID = tmpUid;

    return syncData;
  }