Is there a problem in deen-e-islam or muslim. ?
if its in Deen, obviously nothing can be done. Its divine.
If its in people, then it will be ok after a while. Such waves of extremism have been coming before and disappear. Even now the its just approx 5%, who are not behaving well, rest are all good human beings. So its ok.
The problem is in us, we label all problems as a permanent feature or character of Islam or Muslim, and get depressed. We dont study past and do not visualize future.
The river keep moving, going, swinging, turning, getting weaker, getting stronger, broader, narrower and finally into ocean. Islam is river and ocean is eternity.