Accidently erased OS

It looks like there is something with your power button.
If you have a slim case, it could be worth to take of the case and switch the button of the power with the button of the camera.