Fixed one of examples - using correct API

There is no 'sendKey' method in TextInput interface. I think it should use 'type'.