Bug 1082234 - Set a default value when the stored value is unavailable

https://bugzilla.mozilla.org/show_bug.cgi?id=1082234