Sony Cybershot jumps from picture to video

Hey everyone! I recently found my old Sony Cybershot, it must be over ten years old I think, but I absolutely love it. My only problem is that after a picture or two the settings jump from picture to video without me touching any button. This also happens when I’m looking at the photos I took: it just exits the gallery and jumps to video. I think it might be a loose connection but I don’t know how to fix it. Does anyone have the same problem? I attached a pic below!