error when trying to calculate ratio overlap with list of categories:
Error in if (category == "All") { : the condition has length > 1
This should be changed to only work with "All" or one selected category, or fixed to calculate multiple categories.