Fix for #109

Moved code for list of countries into separate file, fixed localization side-effect on view event.