revert the code when select quiz