Moved order total method from application controller to application helper and included application helper in application controller