Fix the issue #7. From now, the user can not enter an empty key anymore.