This sounds like a logic board issue. You can remove the battery for a while and let all power drain. This can fix data related issues sometimes. But the way you describe it not working normally either way,not just simply a bad switch,but it won’t recognize the clean command,maybe the control board(the part with buttons) is bad? I’d watch YouTube videos on it. If you think this is your specific issue,you can source a part and try to repair it.