Fix the issue by rotate changed

Fixed the problem that when the screen is rotated,
the search results may be erased.