OK, I believe I have a fix!
See the attached aia.
How does it work ?
When you click the Load HTML File button, it loads the html file in the assets and sets the webviewstring to a random text string (there are only five so you do get repeats)
When you move the slider, it increases or decreases the font in steps, and sets the webviewstring to the new size value. This is shown back in the app below the button
The webviewstring sent to the html page is in two parts, the random text string and the font-size value
These two parts are handled separately by the javascript in the html page, so on load it sets the latest value sent back to the app, keeping the font size from the last refresh
Hopefully, this will transfer to your app, i need to do that work now...