Fix: tab does not change when it is selected.