Changed user input method.