Fix toggle on double click