if (tks != null) {
synchronized (tks) {
tks = rm.loadTemporaryKeyByAction(RegistrationManager.EMAIL_CHANGE);
int countCurrentEMail = 0;
for (TemporaryKey temporaryKey : tks) {
HashMap<String, String> tkMails = (HashMap<String, String>) xml.fromXML(temporaryKey.getEmailAddress());
if (tkMails.get("currentEMail").equals(currentEMail)) {
if (countCurrentEMail > 0) {
// clean
rm.deleteTemporaryKeyWithId(temporaryKey.getRegistrationKey());
} else {