Integrate stats into settings

Change-Id: I145af631303face609bac691f56832dc498a2ca9