public static boolean wasKeyReleased(char c) {
    if (!keyrCheckInitiated) {
      keyrCheckInitiated = true;
      keyrLastUpdate = System.currentTimeMillis();
    }
    if (keyrLastUpdate + TIMEOUT < System.currentTimeMillis()) {
      app.keysReleased.clear();
    }
    Character n = new Character(c);
    try {
      for (int i = 0; i < app.keysReleased.size(); i++) {
        if (app.keysReleased.get(i).equals(n)) {
          //app.keysReleased.remove(i);
          return true;
        }
      }
    }// end try
    catch (Exception e) {
    }
    return false;
  } // end waskey released