The mood is determined by the reactions of the user when they react on the activity stream based on the period defined in the settings.