Set a Tab Active

As a developer often you need to be able to switch to a tab. An example below show you how to do that.