-- updated the submit button so that if the time has not changed, the
graph won't be regenerated.