Prevent setKeyboardVisibility() before setKeys() when starting app

So setKeyboardVisibility() does not get called twice if orientation is locked