update title when menu clicked