set active tab for app show page