Fixed of not updated layer lists
Bug appears when you add new layer by "Add to new layer"
context menu option.