Barnard Castle will receive a new banking hub, it has been announced, after the closure of the town’s Barclays branch sparked a community campaign.