I tried to change the retroarchcustom.cfg in system/configs/retroarch manually as I want to get rid of some button layout like input_screenshot_btn = 4 to "false" and some other hotkey settings.
After a reboot the change has been change to default.
Also I tried to change via opening Retroarch and save the configuration, again the change will be revised.