added text param to ontextchanged