Fixed bugs with adding list's items.