Noob gameinstance question movement component variable

I’'m trying to set a button to switch the character movement ‘can walk off ledge’ to on or off and have the setting remain into the next level.

I’ve got the function of ‘can walk off ledge’ switching working, but not the saving of the variable. What do I need to change? I also try to initialize it in event play on character bp