Refactor 'confirm' prompt default setting