anchor.diff:      _refreshCompleter = Completer<void>();
       _settingsBloc = context.bloc<SettingsBloc>();
       _historyBloc = context.bloc<HistoryBloc>();
  -    _mediaType = 'all';
  -    _historyLoaded = false;
  -
  -    final state = _settingsBloc.state;
  -
  -    if (state is SettingsLoadSuccess) {
  +
  +    final historyState = _historyBloc.state;
  +    final settingsState = _settingsBloc.state;
  +
  +
  +    if (historyState is HistoryInitial) {
  +      if (historyState.userId != null) {
  +        _userId = historyState.userId;
  +      }
  +      _mediaType = historyState.mediaType ?? 'all';
  +    }
  +
  +    if (settingsState is SettingsLoadSuccess) {
         String lastSelectedServer;
   
  -      if (state.lastSelectedServer != null) {
  -        for (Server server in state.serverList) {
  -          if (server.tautulliId == state.lastSelectedServer) {
  -            lastSelectedServer = state.lastSelectedServer;
  +      if (settingsState.lastSelectedServer != null) {
  +        for (Server server in settingsState.serverList) {
  +          if (server.tautulliId == settingsState.lastSelectedServer) {
  +            lastSelectedServer = settingsState.lastSelectedServer;
               break;
             }
           }
  
positive.code: import '../../../../injection_container.dart' as di;
  import '../../../settings/presentation/bloc/settings_bloc.dart';
  import '../bloc/history_bloc.dart';
  import '../widgets/history_details.dart';
  import '../widgets/history_error_button.dart';
  
  
negative.code:               },
              );
            }
            if (state is HistoryUsersInProgress) {
              return Stack(
                children: [
                  IconButton(
                    icon: FaIcon(FontAwesomeIcons.userAlt),
                    color: Theme.of(context).disabledColor,
                    onPressed: () {
                      Scaffold.of(context).hideCurrentSnackBar();
                      Scaffold.of(context).showSnackBar(
                        SnackBar(
                          backgroundColor: PlexColorPalette.shark,
                          content: Text('Loading users'),
                        ),
                      );
                    },
                  ),
                  Positioned(
                    right: 0,
                    top: 25,
                    child: SizedBox(
                      height: 15,
                      width: 15,
                      child: CircularProgressIndicator(
                        strokeWidth: 2,
                      ),
                    ),
                  ),
                ],
              );
            }
            return IconButton(
              icon: FaIcon(FontAwesomeIcons.userAlt),
              color: Theme.of(context).disabledColor,
              onPressed: () {
                Scaffold.of(context).hideCurrentSnackBar();
                Scaffold.of(context).showSnackBar(
                  SnackBar(
                    backgroundColor: PlexColorPalette.shark,
                    content: Text('Users failed to load'),
                  ),
                );
              },
            );
          },
        ),
        //* Filter dropdown
        PopupMenuButton(
          icon: FaIcon(
            FontAwesomeIcons.filter,
            color: _mediaType != 'all'
                ? Theme.of(context).accentColor
                : TautulliColorPalette.not_white,
          ),
          tooltip: 'Filter media type',
          onSelected: (value) {
            if (_mediaType != value) {
              setState(() {
  