Adding the function to remove tasks from database.