Plugin AP List: Added a "Unselect all" button in header

And simplified the code of checkbox generation.