added mock rerendering and answer checking functionality to submit button