There is still something wrong, but in different way. I tried to add one cache into a GC codes based custom list again today. It didn't end up with server error this time, but I submitted the stats settings form and the list was completely gone. Adding a new list, no matter if GC codes based or bookmark list based, looks ok in the process, but it's never there after submit.