Fixed potential NPE in ModSettings/PowerUsageSummary refreshStats hook