Limit the number of digits entered in EditTexts

- limit the number of digits to be put in to 9 without decimals and to 7
  with decimals(this will be fixed in futute versions).