Kodi keeps turning off and then on again

I just got a new Amazon Firestick and when I installed Kodi 17.3 and opened to app it keeps turning off and then on in the app. Has anyone had this problem and is there a fix?