Update list items and count handling.
Clean up and refactor graph creation handling.
Save color state in options to prevent its loss.
Fix name fields update when creating graphs.