ready to prevent being killed during running
DONE
DONE
prevent app being killed -DONE