Addsome conditions to limit the TextBox of threshold value to receive only number