Correctly reset notebook.