Changes to navigation state listener