Fix crash on long press for swift keyboard. Close #73