Make tab activation work