Added event triggering when search is applied