Fix cascading APPLY events caused by CANCEL events

Fixes #31
Explicitly state IME and InputType in SGeneric EditText

Fixes #30