How to change the default selected item in OptionButton with code?

Godot Version

4.2

Question

How to change the default selected item in OptionButton with code so that it remains selected after changing scene and coming back?