fixed bug when adding list, improved styles