Building psychological flexibility to respond well to challenges