Add encoding ListDialog and write result to variable to be used in
InputStreamReader