Refactored code

Moved code to refresh Steam friends into a new method -
refreshFriends(). Added javadoc.