How Your Feelings Affect Your Habits