added onCreate to TiLifecycle