Move active tab computation to onInputStarted
comments