We use the spray bottle but it is a problem since it's hard to keep handy. I am on the lookout for one of those little kid water pistols. More handy plus I am hoping she will learn to stop barking even when it's empty. I also use words like "no barking" when I spray her and "stop." When she stops she comes to me for a piece of kibble. Stop means treat to her.
You may be able to use the same method for other training issues. It kills me how Yorkie's have selective memory

They learn some things so easily and others, not so much.