set title of navigation bar and icon update