Fixes Tab Manager to update when tab is closed