properly working switch between statistics views