The major reasons underlie the malfunctions of KODI :
To tackle such issues, find the user-data folder and remove it from the KODI directory to somewhere else. The following table helps you to find the user-data folder.
Operating System Folder Path
Android Android/data/org.xbmc.kodi/files/.kodi/userdata/
iOS /private/var/mobile/Library/Preferences/Kodi/userdata/
Linux ~/.kodi/userdata/
MAC /Users//Library/ApplicationSupport/Kodi/userdata/
OpenELEC /storage/.kodi/userdata/
Microsoft Windows Start – type %APPDATA%\kodi\userdata

After removing the user-data folder, start using your KODI. As it works properly, it confirms that something in the user-data folder afflicts the function of KODI.