Adding filter and assigning notebook