Hi, there is a way to do this, but it does require modifying the template slightly, I've mocked up a little example for you.
To do this properly, you only want the input mode to be able to change after a power cycle.
In the sub block of the pin page, you will want to separate the Init and InputMode signal.
Then you would setup the NV component to drive the init, and limit the InputMode to only be set on the first loop.
You can also do a similar thing for setting the baudrate of a controller without requiring a recompile.
Hope this helps, Matt