Fixes part of #2976, allow to manually select map directory

Add a directory selection button to map selection.
Fix issues with updating map sources preference after selecting a map file.
Fix issues with listing map source if only a directory was defined.
Merge branch 'release' into master_dev