Revert to keyboard if emoji panel was open (fix #206)

Signed-off-by: Daniele Ricci <daniele.athome@gmail.com>