UI stops updating widgets

as you can see in my initial post, I am using a style sheet for general button settings and an active/inactive stylesheet depending on the state (see here).
after a while (can be 3 minutes, can be one hour - I cannot reproduce this) the highlighted buttons (i.e. those with stylesheet cssbuttonactive) freeze. I can still click on the button and the action is executed, but it does not get highlighted.
My device is an iPad.