fixed issue #156
Merge pull request #162 from yanhick/master

When double click, no longer cancels following input click on iOS
Add test task
Else block is redundant after a return