click on searched category and minor changes