updateKeepBackground

Updates the keep background state.