prevent app being killed -DONE