Confidence in government raises consumer optimism