Remove redunancy in map type menu generation