Fix trace reload

Process the trace currently selected on view activation. Also, recompute the
analysis if the trace is selected again, it may have changed.