Assign title in StateToContent