Setting and Restoring Quiz Attempts