Changed replaceKeys to setText

https://github.com/appium/appium/pull/3402