Make tweaks to FriendsFragment and refactor and write comments for code
in other classes