Made the icon change when the view changes and made the title update too