UE4 documentation c++ question

Under C++ Programming Guide > Programming How Tos > Components and Collisions > Using our pawn and components together
Step # 4
Particle toggle


void ACollidingPawn::ParticleToggle()
    {
        if (OurParticleSystem && OurParticleSystem->Template)
        {
            OurParticleSystem->Activate(!OurParticleSystem->IsActive());
        }
    }

This turns on the particle when first pressed, but then it does not toggle on and off and stays on.

How would I toggle?