Get rid of the restlessness first. It makes people nervous. Learn how to sit down without jumping up every five minutes to txt or mess with your gadgets.
Just talk be open
I've been in your shoe once, and I'm telling you, make an effort to get rid the awkward thing with your friend. Talk to her, if you've done something wrong, show her that you're sorry.