Bug fix Feature Layer selection menu refresh

The Feature Layer menu was not refreshing when layers were made visible
and non-visible