Implemented preference activity. Generating tests depends on shared preference question_count, which can be set in Preference screen.