Volumio losing config.txt when on power loss

Hi, my current setup is RPi3 + hifiberry dac+ +RPi official display. I have all this in a case and normally screen is upside down. I added ‘lcd_rotate = 2’ to /boot/config.txt’ and it works until I remove power plug. Regular restart or shutdown preserve this settings but sudden power loss resets it.

How to fix this? Will removing write access to that file help?

Ok, I think I fixed that.

In /volumio/app/plugins/system_controller/i2s_dacs/index.js add 'lcd_rotate=2' + os.EOL + to bootstring