refactored the code of statistics screen, corrected the display of level statistics screen