Ryobi Petrol Lawnmower (Keston Mark BR2)

Model No RLM46140
140cc ohv
45 cms

It worked great, then wouldn't stay on when pulling the cord. Changed spark plug same result. Could be hd lead or simple fix but I gave up and bought a electric mower.
I have emptied the petrol tank.