Add dynamic title to layout