refactors the user prompt when asked yes/no