Override methods onSaveInstanceState() and onRestoreInstanceState() to keep state_checked.