Johann won't sell me any horse

After I had done pestilence quest, I tried to find Johann only to see him staring at a wall in his home. I have the buy option, but when Johann says “which horse do you want?”, Henry automatically says he’ll have to think it over.

Is there any solution?

Yeah I got the same problem except when he stays outside the cabin to scream at the bandit that is inside he got stuck there even when I finished the quest he was just there screaming at an empty cabin
What I did was commit a crime in front of him and that seemed to override whatever he was doing but I’m looking for him atm and can’t find him so ill update when I do find him and see if it’s still the same