Issue #220 : upload pending events when app become active
Issue #223 : set the minimum interval to be 15 minutes