[pinyin] fix issue of remind of pinyin

1. enter -> cause uncleared raw buffer commit, resolved by clear the
buffer.
2. non-selection key should clear the remind state.