add onStart/onStop functions for Android