Update checkbox status after changing page.