Text in button changes to components default when using variables to change pages

So I’m thing out variables and tried using a String variable to change pages. When I change the value manually everything happens as it’s supposed to, but when I actually press the button it changes the text inside of the button to the default text from the button’s component.

I don’t understand if this is my fault or not since this has never happened when using the older methods, either making a frame for each page or using interactive components.

I can’t upload the video here yet although my account is not new, but here’s a video showing the interactions and component: https://streamable.com/tayfav