diff --git a/app/src/main/java/info/nightscout/androidaps/PreferencesActivity.java b/app/src/main/java/info/nightscout/androidaps/PreferencesActivity.java index bc59ee5a0b..56ce148091 100644 --- a/app/src/main/java/info/nightscout/androidaps/PreferencesActivity.java +++ b/app/src/main/java/info/nightscout/androidaps/PreferencesActivity.java @@ -113,7 +113,7 @@ public class PreferencesActivity extends PreferenceActivity implements SharedPre @Override public void setArguments(Bundle args) { super.setArguments(args); - id = args.getInt("key"); + id = args.getInt("id"); } void addPreferencesFromResourceIfEnabled(PluginBase p, int type) {