Added a validation for the choice to create a new password or quit.