Fixed bug where friend list was getting removed