Implemented a bit of error checking in the amount box, now only changes if it's a number or empty string