QuestionsActivity.java and UserCodeActivity.java: added code