The duration the button needs to be pressed for the onSubmit event to be executed.
final int duration;