if we're switching, let's prevent a coercion and set `appContext = ... || false`.