moved code from question.java

move code to questionpageactivity