add 'active' switch to books and notes