Add unregisterReceiver to onPause.
Fix header bug.