Make IME reseting configurable