Fix the bug when friends list doesn't get refreshed