Fixes #2715, NPE when activiating menu on map

Additionally fixed single select group in map sources menu