Refactoring Code - Friend Detail