diff --git a/apps/habitbuilder/interface.html b/apps/habitbuilder/interface.html
index c42da129c3..a125c73d38 100644
--- a/apps/habitbuilder/interface.html
+++ b/apps/habitbuilder/interface.html
@@ -60,7 +60,7 @@
Settings
// build settings form
settingsHtml = buildSettingsForm(settings.questions, settings.reminderTime);
- settingsElement.innerHTML = settingsHtml;
+ document.getElementById("settings").innerHTML = settingsHtml;
document.getElementById("btnSaveSettings").addEventListener("click", function() {
// Get questions