Removed a small bug in the ToggleAll Method

Removed a small bug