Added the interface for entering the charge value.