What is the best way to fix a hole for a toggle loose in the drywall?

The shelf was getting wobbly so I took it off and tried to re-establish a strong supportive toggle in the wall. Everything I used did not dry hard enough to make this happen. What material is the best to fill in the gap? The hole kept getting bigger from taking the toggle in and out because it was still so loose and unable to support the shelf.

  2 answers