diff --git a/desktop/head_tag.html b/desktop/head_tag.html
index 61d8979..eadb2d1 100644
--- a/desktop/head_tag.html
+++ b/desktop/head_tag.html
@@ -167,8 +167,9 @@ const defaultButtons = {
// Assign default values if translations are not present
Object.keys(defaultButtons).forEach(key => {
- translations.composer[key + "_title"] = settings[key] ? settings[key].default : defaultButtons[key];
- translations.composer[key + "_text"] = settings[key + "_text"] ? settings[key + "_text"].default : defaultButtons[key];
+ translations.composer[key + "_title"] = settings[key] && settings[key].default ? settings[key].default : defaultButtons[key];
+ translations.composer[key + "_text"] = settings[key + "_text"] && settings[key + "_text"].default ? settings[key + "_text"].default : defaultButtons[key];
});
+