In the Content Browser create a new Struct and add all the states to it. In the Blueprint, create a new Variable and make it Enum(name_of_struct). After your buttonpress event, add a SwitchOnEnum node and drag the pin of your previously created Variable into it.
I’m not on my machine right now, I’ll provide screenshots once I’m home if needed.