Complete re-submit exam paper function.