Reset toggle code