Added option to be able to deactivate a tabGuard after creating it