Fix search item click event not working