Much like the behaviour for a new incoming task opens the new tab, here we want pulse to display the failed tab.
Given that we react on events, we will always display the last one (of new and failed) handled by the Presenter, if a user does not open Pulse between the two events. In short, we cannot guarantee that a new task has precedence over a failed one. E.g.
- a new task arrives -> pulse sets itself to display the new tab
- a task fails -> pulse sets itself to display the failed tab
- user clicks on pulse icon -> the failed tab will be shown