Your ex-bf sounds like a loser. Your friend sounds like the nicest person you'll ever meet. I had the same problem one time, and I went for my ex. I lost a really good friend and my ex still dumped me about 1 month or 2 afterwards. I think you should go for your friend because it's ovious that your bf dosn't trust you and your friend really cares for you.