Hello,

Thank you for this. I tried running it but now I am getting the error:

AttributeError: 'NotebookHandler' object has no attribute 'setContext'