The correct option is
B To be in good mood
Option B is the correct answer because 'to keeps one's temper' means to refrain from becoming angered or upset due to some provocation and be in a good mood.
Options A, C and D are incorrect because these are not the meanings of the given phrase.
Option E is incorrect because the correct answer has already been chosen.