Added prefferences support, provided two prefs as an example.

The support for preferences is implemented acc. to guidelines for API >10.
The settings for question duration and post-question pause are provided.