Fixed toast displayed behind the keyboard if already popped.

If show request is done while keyboard is already popped, it will not be detected and the toast will not be visible to the user.
The way used to detect the keyboard seems to not follow Apple recommendation, but it was the easy way to go instead of listening for keyboard notification all the application lifetime long... (as done in the original implementation)