Fix nullpointerexception open a phisical keyboard