working back button for quiz