Add CheckboxPref class

Change-Id: If5fab0978d8e903ae08ccc114770f1ca9bade4b8