HUD Pause/Play and Lock buttons don't switch when pressed

I am not sure if this is a new bug, or if we have done something wrong, but when the pause button in the HUD is pressed, the event is fired, but the button stays as a pause button, instead of changing to a play button. This happens regardless of whether we have event handlers for these events.

The same is true for the lock button.

Might we have sabotaged the buttons, or is there a bug?

Never mind, I was using the interface API wrongly, and it works fully now, thanks.