anchor.diff:        appBar: AppBar(
           title: Text('Recently Added'),
           actions: [
  -          PopupMenuButton(
  -            icon: FaIcon(
  -              FontAwesomeIcons.filter,
  -              color: _mediaType == 'all'
  -                  ? TautulliColorPalette.not_white
  -                  : Theme.of(context).accentColor,
  -            ),
  -            onSelected: (value) {
  -              if (_mediaType != value) {
  -                setState(() {
  -                  _mediaType = value;
  -                });
  -                _recentlyAddedBloc.add(RecentlyAddedFilter(
  -                  tautulliId: _tautulliId,
  -                  mediaType: _mediaType,
  -                ));
  -              }
  -            },
  -            itemBuilder: (context) {
  -              return [
  -                PopupMenuItem(
  -                  child: Text(
  -                    'All',
  -                    style: TextStyle(
  -                      color: _mediaType == 'all'
  -                          ? Theme.of(context).accentColor
  -                          : TautulliColorPalette.not_white,
  -                    ),
  +          BlocBuilder<RecentlyAddedBloc, RecentlyAddedState>(
  +            builder: (context, state) {
  +              if (state is RecentlyAddedSuccess) {
  +                return PopupMenuButton(
  +                  icon: FaIcon(
  +                    FontAwesomeIcons.filter,
  +                    color: _mediaType == 'all'
  +                        ? TautulliColorPalette.not_white
  +                        : Theme.of(context).accentColor,
                     ),
  -                  value: 'all',
  -                ),
  -                PopupMenuItem(
  -                  child: Text(
  -                    'Movies',
  -                    style: TextStyle(
  -                      color: _mediaType == 'movie'
  -                          ? Theme.of(context).accentColor
  -                          : TautulliColorPalette.not_white,
  -                    ),
  -                  ),
  -                  value: 'movie',
  -                ),
  -                PopupMenuItem(
  -                  child: Text(
  -                    'TV Shows',
  -                    style: TextStyle(
  -                      color: _mediaType == 'show'
  -                          ? Theme.of(context).accentColor
  -                          : TautulliColorPalette.not_white,
  -                    ),
  -                  ),
  -                  value: 'show',
  -                ),
  -                PopupMenuItem(
  -                  child: Text(
  -                    'Music',
  -                    style: TextStyle(
  -                      color: _mediaType == 'artist'
  -                          ? Theme.of(context).accentColor
  -                          : TautulliColorPalette.not_white,
  -                    ),
  -                  ),
  -                  value: 'artist',
  -                ),
  -                PopupMenuItem(
  -                  child: Text(
  -                    'Videos',
  -                    style: TextStyle(
  -                      color: _mediaType == 'other_video'
  -                          ? Theme.of(context).accentColor
  -                          : TautulliColorPalette.not_white,
  -                    ),
  -                  ),
  -                  value: 'other_video',
  -                ),
  -              ];
  +                  onSelected: (value) {
  +                    if (_mediaType != value) {
  +                      setState(() {
  +                        _mediaType = value;
  +                      });
  +                      _recentlyAddedBloc.add(RecentlyAddedFilter(
  +                        tautulliId: _tautulliId,
  +                        mediaType: _mediaType,
  +                      ));
  +                    }
  +                  },
  +                  itemBuilder: (context) {
  +                    return [
  +                      PopupMenuItem(
  +                        child: Text(
  +                          'All',
  +                          style: TextStyle(
  +                            color: _mediaType == 'all'
  +                                ? Theme.of(context).accentColor
  +                                : TautulliColorPalette.not_white,
  +                          ),
  +                        ),
  +                        value: 'all',
  +                      ),
  +                      PopupMenuItem(
  +                        child: Text(
  +                          'Movies',
  +                          style: TextStyle(
  +                            color: _mediaType == 'movie'
  +                                ? Theme.of(context).accentColor
  +                                : TautulliColorPalette.not_white,
  +                          ),
  +                        ),
  +                        value: 'movie',
  +                      ),
  +                      PopupMenuItem(
  +                        child: Text(
  +                          'TV Shows',
  +                          style: TextStyle(
  +                            color: _mediaType == 'show'
  +                                ? Theme.of(context).accentColor
  +                                : TautulliColorPalette.not_white,
  +                          ),
  +                        ),
  +                        value: 'show',
  +                      ),
  +                      PopupMenuItem(
  +                        child: Text(
  +                          'Music',
  +                          style: TextStyle(
  +                            color: _mediaType == 'artist'
  +                                ? Theme.of(context).accentColor
  +                                : TautulliColorPalette.not_white,
  +                          ),
  +                        ),
  +                        value: 'artist',
  +                      ),
  +                      PopupMenuItem(
  +                        child: Text(
  +                          'Videos',
  +                          style: TextStyle(
  +                            color: _mediaType == 'other_video'
  +                                ? Theme.of(context).accentColor
  +                                : TautulliColorPalette.not_white,
  +                          ),
  +                        ),
  +                        value: 'other_video',
  +                      ),
  +                    ];
  +                  },
  +                );
  +              }
  +              return IconButton(
  +                icon: FaIcon(FontAwesomeIcons.filter),
  +                onPressed: null,
  +              );
               },
             ),
           ],
  
positive.code:   SettingsBloc _settingsBloc;
    RecentlyAddedBloc _recentlyAddedBloc;
    String _tautulliId;
    String _mediaType;
  
    @override
    void initState() {
  
negative.code:     _refreshCompleter = Completer<void>();
      _settingsBloc = context.bloc<SettingsBloc>();
      _recentlyAddedBloc = context.bloc<RecentlyAddedBloc>();
  
      final state = _settingsBloc.state;
  
  