update textaction fx

1. update gesture recoginition
2. add action check function