Save password generator settings

Remember the used values for the password generator and restore them the next time the user opens the generation dialog.