I'm sorry you are feeling so uncertain. If your friend is upset with you, they may need a day or two to get over it. It sounds like you are good friends to each other so I doubt you lost the friendship. Give it a little bit of time and get in contact with them again via phone or in person and give them a heart felt apology. Try not to worry. I really think it will work out. Sending big hugs.