Kodi stops working, when restarts says it’s first time startup.

Having a rather strange issue with 2 separate boxes. When connected to a new Panasonic UHD TV on both Kodi regularly stops itself and when i restart it says it’s the first startup. Oddly I have connected one to an older tv and the issue doesn’t arise. Both have kodi 16.1 installed.I’ve tried putting in debug mode but no log is created. Anyone think of how i can resolve this?