Prevent erroneous showing of the Update button

When switching away from the updates page before the updates
are loaded, we ended up making the 'restart & update' button
visible on whatever tab we end up on.

Prevent that by checking that we are still on the updates
tab when changing the button visibility.