The correct option is D sometimes
'Sometimes' is an adverb of frequency. The rule says that if a sentence has one verb, place the adverb of frequency in the middle of the sentence so that it is positioned after the subject but before the verb. 'happily' is an adverb of manner thus option B is wrong option. Thus, according to the rule, option A is the correct answer.