Adding preferences functionality (unfinished)

http://viralpatel.net/blogs/android-preferences-activity-example/