Make sure layer is only added if not already in map

This fixes the bug mentioned by @elemoine in #359 where switching languages or topics adds existing maps multiple times to the map.