Ensure consent page does not open if the user has already consented
As mentioned in #96 (comment 3041209), there is a race condition where the consent page is opened before the consent status is loaded from local storage. Fixing this may requires some light refactoring of the initToggle
functions, or factoring out some of the logic inside of it so that we can wait for the promise to resolve before loading the consent page.