Clean up tab selection when it's finalized