Added functionality to filter items using dropdown list