Hi,
If you still have the problem, try to check if the CPU cooler wires are connect correctly (Check if cables connected to the right FAN on MB). For UEFI, maybe the changes you did somehow are missing with the MB, I mean might be causing some kind of issue that prevent the MB from saving.
If it does not work, please post back!
Regards,