Doubt about checkboxes and actions

I am developing and app that adds tasks to the DB and show them on the
screen. Now I have to list all those tasks with check-boxes, and two
buttons, one will delete the selected and another will add update the
task (add the string DONE). Don't have any idea how to proceed, thanks.