Let enter key accept phonetic input

Currently, the user has to check and uncheck the "phonetic typing" checkbox in order to type latin characters. This commit allows the user to press the "enter" key in order to accept the recognized input as phonetic. This is similar to the way that Chinese typing works on OS X.