added event to listen for when a tab becomes a primary again