Task list with current state and changing switch state implemented