start/stop tasks on checkbox click