Added currency and amount elements to the function that change id and class of dinamically added elements to the form.