resolve issue with updating UUID when app enters the background
Merge branch 'similarity'