fixed Check Style error and code formatting
fixed auto-rotation bug on StatisticFragment