adding support for clicking on the datalayer it runs addCountry, removing existing data and adding in the new one