Fix set current tab on change. Fixes #21