Added functional edit button, Displays error on initial amount input