Bug 1102831 - [UserDictionary] Implement user dictionary UI to KeyboardSettingsApp

Since the `onclose` callback do more than `stop()`, let's create another function here instead.