Rename function parameters and local variables
Rename selected total weight limit parameter
Provide layer name as a construction parameter
Provide multi element event category as a construction parameter
Provide single element event category as a construction parameter
Rename total weight limit layer to weight limit layer