DialogInterface.OnClickListener itemListener =
new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialog, int which) {
state.selected = which;
dialog.dismiss();
SecurityUtils.CipherInfo info = SecurityUtils.getCipherInfo();
if (restoreSecrets(state.getSelectedRestorePoint(), info))
showToast(R.string.restore_succeeded);
}
};