Sets proper case for appview and pageview.