Fixed bug in friend activity