Added middle text logic to ViewControllers.