Added dollar sign to setSubmitted()

Dollar sign was missing for setSubmitted()