Stop passing around the activeTab
Make a separate constructor.