Barcelona secures new agreement