fixed NPE

E/AndroidRuntime( 6163): FATAL EXCEPTION: main
E/AndroidRuntime( 6163): java.lang.NullPointerException
E/AndroidRuntime( 6163): at android.inputmethodservice.AbstractInputMethodService.setSessionEnabled(AbstractInputMethodService.java:72)
E/AndroidRuntime( 6163): at android.inputmethodservice.IInputMethodWrapper.executeMessage(IInputMethodWrapper.java:195)
E/AndroidRuntime( 6163): at com.android.internal.os.HandlerCaller.handleMessage(HandlerCaller.java:40)
E/AndroidRuntime( 6163): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 6163): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 6163): at android.app.ActivityThread.main(ActivityThread.java:5257)
E/AndroidRuntime( 6163): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 6163): at java.lang.reflect.Method.invoke(Method.java:525)
E/AndroidRuntime( 6163): at com.android.internal.os.ZygoteInit.run(ZygoteInit.java:739)
E/AndroidRuntime( 6163): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:555)
E/AndroidRuntime( 6163): at dalvik.system.NativeStart.main(Native Method)