Fixed the saving number of questions when pressing the prev/next button