Added filter by category functionality