Added checkbox for all pages and some initial related logic (not finished)