add refresh button and search button