I have not tried the code yet, doing a cursory glance, but I thought refresh-rotate had to match in the animation name for the button, but it seems to be just "rotate" for the .msg-refresh-btn? I'm still new to keyframe animations though, could have missed something.