added ok button to go to home page in view statistics page