synchronized locks on Battle button instead of busy loop