I took out 1 stick of ram and placed it in again and it worked, now the BIOS changes are saved. Not sure about the random freezing though that happened before the BIOS fiasco can only hope that too is fixed. Thank you for helping @boju ,
I tried to replicate what happened to understand the...