Eliminated some unnecessary code in ProfileDetailView