Bug 1048228 - Set the last used keyboard as default after restart of the phone

Need to check curr != null here?
08-14 18:28:00.651: E/GeckoConsole(15282): [JavaScript Error: "TypeError: curr is undefined" {file: "app://system.gaiamobile.org/shared/js/keyboard_helper.js" line: 880}]
08-14 18:28:05.861: E/GeckoConsole(15282): [JavaScript Error: "TypeError: curr is undefined" {file: "app://system.gaiamobile.org/shared/js/keyboard_helper.js" line: 880}]