Fix the problem of not refresh app when you preform a search and then close the menu