Made title text change with navigation.