Made Cached Events ready for Version 1 release

Cached event work as long as the app is not killed. V2 will implement
internal storage to store cached events so they can be accessed even
after app is killed