Added option to define how often it should check for updates

I was unable to test the code. (No app on Google Play yet.)
It should work though.