We should validate the input fields so only numeric values can be entered. Right now a "k" or anything else will be happily saved without warning.