Spinning starter with bad solenoid worth repairing

I purchased a 2006 mazda 6 starter online at cost of $53.5 amd it worked good for one and a half years.
I am satisfied with this hexautoparts starter which has affordable price and used to work fine for a long time for my mazda with 2.3L engine.
But yesterday I found the mazda 6 starter replacement was cranking but now it is just spinning and the solenoid is bad.
Is it worth repairing ? Or buy another mazda 6 starter to replace this one?
Any thoughts will be helpful.