fixing a bug which occurs on layer refresh when no layers are selected
fixing a bug which occurs on layer refresh when no layers are selected

ngageoint/mage-ios,ngageoint/mage-ios,ngageoint/mage-ios,ngageoint/mage-ios