synchronously update buttons (IDEADEV-13911] [r=anna]