Right now I have this piece of code which opens settings
val intent = Intent().apply { when { Build.VERSION.SDK_INT >= Build.VERSION_CO