title: Count how many times the app is open using shared preferences
body: <p>I have a widget who should be shown on home screen after a number of app open events. I know I have to use shared preferences, but I don't know how to implement it.</p>