Remove prepare view

Reformat code and use for (Entry<> entry : tagList)