Controlling spins in adsorbed molecules by a chemical switch