implemented functionality to show or hide mean/median