Lifeline deal saves Adur leisure centres for community use