add done functionalitt to task