fixed the functionality for switching between quiz mode and review mode that was broken