gifs will only work in a webviewer (even though they do work in the companion, annoying, huh?)
There may be an extension that can help, but not sure if there is one for buttons
Alternatively, if you do not have too many (buttons)
you could use a clock timer and change the images on the button