fix crash with FramgmentSampleActivity rotation
fix maintain background color when recreated activity or fragment