Fix bug introduced with i18n on yes/no questions

These questions and the code that uses them should probably be rewritten
in general...
Moved the methods exctracted from the view to util