Fix NullPointerException that can happen after onDestroy() is called.

Apparently showKeyboard() can be called at that point...