Show "no result message" if no data items are matched with query

1. show no result message if no data items are matched with query
2. fixed the bug where the second time search did not show any results after nothing was found in first time search.