Change the way to open pages,
enable search button