Samsung Washer wont Spin / count resets

Hello, I had a leak in my water inlet valve and just replaced it last week. After 15 or so successful washes I started to have a new issue. After the washer progresses to around 12 min remaining the spin cycle starts and then stops, the counter resets to around 21min and repeats the rinse cycle and fills the tank much more than normal, to the point of overflow once. I have tried the test mode and been able to get it to spin through the highest speed, but if I do a spin only cycle it will start for 2-3min and then begin a rinse cycle :? thinking it may be the control board but was hoping for some advice. Thanks in advance!