Added keyboard interface to enter max value on the touchscreen