add appInit event