Add select_input_method