toggles work using toggleTaskState