ico for change password for encrypted DB function and minor fixes