Migrate settings from old xbmc

I have installed the latest kodi. After being reluctant for a while becuase the setup was running quite fine. The previously installed kodi 12.2 has been replaced by the new 17.

I didnt uninstal the old software because keeping my settings would be an advantage. But the installer chose a directory named kodi. Version 12 had installed under a different directory xbmc. Can i still keep the settings? Do i have to copy files somewhere?