Added confirmation before generating new key.