Add a preference item to template.

Thanks Chiral Code for the LW template.  It's a better start than what Google provides.  Since your template has the necessary elements for settings, I finished out the implementation with an example setting.  I tried to follow your code style and simplicity.