What you could have done is cut 2 pieces of 2 by 1 timber into about 4 inch lengths and place them into the hole for the backbox. Screw these in place to the side of the hole through the plaster. You would then have something to fix the backbox to. And fill in the screw holes with a bit of filler.