Save your changes in the device UI

When you click the Apply button in the device UI, your changes are saved and are retained when you restart the switch. That is, your changes are saved to both the running configuration and the startup configuration of the switch.