changed to takari lifecycle
updated for APKLIB deprecation merge