added some new functions for tasks
updated delete buttons