toggeling done-state implemented