Only offering an alternative idea, not commenting on the bark collar thing...
Try partially filling a glass jar with coins. Shake it as soon as the undesired barking begins and consistently use it for several days. See if that helps. It did for us, and I have Remy at my office so
some barking is OK but incessant barking is
not. Others also fill an empty soda can with coins. I found the glass jar was a bit of a "harsher" sound and achieved a better result. My office fronts on a sidewalk, with windows from floor to ceiling. All types of dogs and small kiddos walk by daily and are a constant temptation to him...