I think Barcelona planned this very well. Barcelona understood that it is not going to be a realistic idea to go for the other cups or trophies. Actually, unless it is the Champions League trophy, it is not going to matter that much anyway.
So they made the right decision to go for the La Liga title. It's not like they couldn't care less about any other trophies. But the main priority was the la Liga title. And we can see what a beautiful job they have done. They are also playing well in the Copa del Rey. Let's see if they can actually go ahead in the competition. They do have the setup for it.
The truth is that Barcelona wants the laliga because this is what they can afford to win, they need to win laliga first before they can think of winning the champions league . Barcelona knows their level of performance can get them winning the champions league, winning champions league is for strong teams.
La Liga is the first goal and main target for Xavi in Barcelona and they are not going to lose this chance obviously because they are near to getting the title and their traditional and main competitor Real Madrid is far from them with 12 points difference. Barcelona's second target can Copa del Rey when they have to beat Real Madrid again, but currently, they won't lose the chance to take the title in La Liga.