Cleanup
Note currently open notebook at application termination and reopen it at launch.