2008 Polaris 500- Shurs off when button pushed

I bought a 2008 Polaris 500 2up over the winter. I didn’t hook the battery to a tender, and the battery drained. I purchased a new battery, but now it won’t start. When I hook up the new battery and turn the key, the electronics DO turn on. The problem is, when I push any button, or try and turn the engine on, the electronics shut off. I have to disconnect, and reconnect, the battery for the electronics to come back on, and it is still the same issue of the power turning back off. I have checked all the fuses, and they seem to be okay. Any help would be appreciated. Thanks!