Set title name programmatically.