i made an app with credits, where when a certain button is pressed, it will dedact 1 credit. Now comes the strange thing: when I use a toggle, the text label immediately updates