Update FriendListActivity to avoid IllegalStateException