Glad it worked for you, it is strange tho, after you save it shouldn't return to prev code, unless you were doing something wrong, i know for sure because i restart my miners and setting are still there, but well you know, strange things happen, what matters now is that it worked out for you.
cheers and happy mining.
The 'live' filesystem is reloaded from flash every boot. only /config is permanent.
Various other firmwares have handled this different. The only real way to fix this is a modification of the base firmware, temporarily do this mod or a variant, flash the updated base firmware.... from that point forward, all flashes should be good.
-j