Fixing a bug when creating a list while the 'list picker' is opened.