Fix non-permanent mm/sp text style setting.

A change from "mm" to "sp" of a test style was not retained.

The error was in the code managing the dlg box UI, which omitted to update the relevant local variable.