fixed bug with 'new notebook' button