add view in viewIDMap to lifecryle