simple android app to prevent an activity from being killed