Now layers are added dynamically to the UI