Fix add/remove on click event for KML layer