handling of inputs with empty value

prevents writing NaN into the input-filed by pressing [+] / [-] if the field-value is empty