Adding event persistence with content providers