Fixing a bug with the key configuration process. Refactoring.