What the heck do you think you're doing?? Stop that town hall upgrade this instant! You need to upgrade them defenses to the max level first! If you don't, you will regret it! The loot gets really bad at th9 unless you are in masters league using balloonion, which you cannot do because you cannot survive in masters league the way you are and you do not have maxed loons or minions.
Level 1 xbows do less damage than a lvl 9 cannon/archer tower so they are not worth getting since you only get 2. Upgrade all your cannons and archer towers to level 10 and teslas to level 6. Try to get all your walls to level 7, although level 8 would be better. Upgrade your dark troops. The minions and hogs both get really good at level 4. Valkryies suck and golems are not really that worth it.
Get the AT and canons done during TH upgrade. If you were rocking a mix of purp and black walls you would be a lot safer at TH9. You will get hammered by 10's without good walls and not max defence.
If your leader told you to get xbow then he/she doesnt really know this game...upgrade everything including walls and troops/spells in lab before upgrading your town hall. Follow this order
Mortar> wizard tower> archer tower> cannon> air def> teslas
Stop that TH upgrade right now. RIGHT NOW. TH8 is NOT something you want to rush. Upgrade all your defense, get your Dark Barracks upgraded and then do some walls. Then you may upgrade.
“People should either be caressed or crushed. If you do them minor damage they will get their revenge; but if you cripple them there is nothing they can do. If you need to injure someone, do it in such a way that you do not have to fear their vengeance.”- Niccolò Machiavelli