Solved crash because of Statistics fragment not correctly unregistering
from Bus when stopping. Also discovered some problems with calculating
number of done tasks for statistics for multiple events (missing breaks
in switch).