added a input format filter for the quantityEditText