Only enable the view statistics button on ended and closed sessions