So you simply need to clear the History when you’re not in Syllabus.
I recommend following this guide that explains how to use virtual screens
you can implement it and use it to specify that if you’re not in Syllabus or others “screen”, it should clear the History