I have this by default mechanism in my system that whenever something bad happens in my life I become more positive. My thoughts become more positive and I give double efforts than I used to.
Life is all about how you respond to those bad news, challenges and tragedies.