fixed status of marked pages on toolbar when switching pages and when tapping mark button.