Android Lifecycle cleanup: layer creation moved into onCreate/onDestroy, additional method to safely restart activity