Fix previous problems with log. Now questionnaire is a fragment and not
an activity