M&Co store in Ripon saved from closure