How to prevent Android setup keeps stopping in the future?