refactor extract method set_title of viewer screen