Cleanup: Use a helper class for system setting binary toggles.

Change-Id: Iad7f8a6bf85b23223e1def18e8c9eaa0f8dd253c
Cleanup: Don't use getApplicationContext() where not needed.

Change-Id: Ie2232857cf88c98c9f2b76996a500e3d3696e6e2