[*]Fix UI squeeze problem when keyboard is shown.
[*]Fix `X` button logical bug.