Fixing list visibility issue when adding the first item in an empty list