public void updateSubscribedFeeds(List<FeedModel> list) {
for (FeedModel feed : list) {
if (feeds.contains(feed)) {
// possibly unsubscribe/remove feed
int index = feeds.indexOf(feed);
FeedModel existingFeed = feeds.get(index);
existingFeed.subscribed = feed.subscribed;
if (!existingFeed.subscribed) {
feeds.remove(index);
}
} else if (feed.subscribed) {