Refactor DisplayView class

Refactor and remove of magic numbers and string.