Hack to switch to correct tab when accepting invites