Barcelona gains funds from Cassado sale