Kotlin: handling preferences with Dagger (Dependency Injection Pattern)

Right now, this is my controller:

class SettingsController {

private boolean musicOn;
private Context context;

SettingsController(Context context) {

    this.context=context;

    try{
        this.setMusicOn(loadPreferences());
    }catch (Exception e){
        musicOn=true;
    }
}

boolean isMusicOn() {
    return musicOn;
}

private void setMusicOn(boolean musicOn) {
    this.musicOn = musicOn;
}

void musicOnOff(){

    musicOn=!musicOn;
    if(musicOn){
        AudioManager.Companion.getInstance().playSimoneMusic();
    }else {
        AudioManager.Companion.getInstance().stopSimoneMusic();
    }
    savePreferences();
}

private void savePreferences(){
    SharedPreferences.Editor editor = context.getSharedPreferences("Settings", MODE_PRIVATE).edit();
    editor.putBoolean("music", musicOn);
    editor.apply();
}

private boolean loadPreferences(){
    SharedPreferences prefs = context.getSharedPreferences("Settings", MODE_PRIVATE);
    return prefs.getBoolean("music",true);
}

}

I read somewhere that I can handle the SharedPreferences in a more elegant way using Dagger, which embodies the Dependency Injection Pattern. Moreover, I think I should do it in Kotlin. How can I do it? Thanks in advance