Added getText to TextField