I've initialized now to false, and I change the value only if the carrier is shown.