The future of the 'Cathedral of the Potteries' has been secured