Fixed the appbar localisation crash