Changing the board in App preserved all settings except of Gauge Widget's range

My project was originally on Uno WiFi Dev Ed, but then moved over different architectures (SAMD, esp8266) and now it runs on an ATmega1284 board and I use all 32 virtual pins and need more. So I finally had to change the board in App. I use only virtual pins and changing the board to Generic seemed to my surprise preserve all widgets settings. Then I noticed funny ranges on gauges. They were all reset to 0 ~ 1023 range for no good reason.