window: update top bar search visibility on first page
window: update top bar search visibility on first page

If this first page we ask the window to show is the page that is
already visible in the stack, we were not updating the search
box visibility properly.

This makes sure we always update the top bar search visibility, and
fixes a double search bar regression on templates A and B.
[endlessm/eos-sdk#3947]

endlessm/eos-knowledge-lib,endlessm/eos-knowledge-lib,endlessm/eos-knowledge-lib,endlessm/eos-knowledge-lib