Added support for removing markers when selected category changes