updated code for getting edittext value. checking length of the value.