more configuration refactoring
Only show active tab
Pass instance to view() as well