Added event triggers for search and filter