selectedBluePrint.setEncryptedPassword(AES.encrypt(passwordTextField.getText(), restClient.getMasterPassword()));
HashMap<String,String> newvalues = new HashMap<>();
newvalues.put("url",selectedBluePrint.getUrl());
newvalues.put("username",selectedBluePrint.getUsername());
newvalues.put("encryptedPassword",selectedBluePrint.getEncryptedPassword());
restClient.updatePassword(selectedBluePrint.getId(),newvalues);
basePresenter.getAddEditPopOver().hide();
}
private void saveRecord() {