Fixed swoed new/duplicated event in list even preferences editor is
canceled