// The library.get() response contains favorited songs that do not have
// the 'favorited' property set. To work around this, favorites are
// removed from the library set and replaced with instances from the
// favorites set. The result is that all songs within the resulting set
// are 'collected', and some are 'favorited'.
ImmutableSet<Song> library = ImmutableSet.copyOf(user.library().get());
bus.post(new GetSongsToSyncProgressChangedEvent(this, 2, 3));
ImmutableSet<Song> favorites = ImmutableSet.copyOf(user.favorites().get());