s/rm -r/rm -rf/g
use isDirectory() to check storage
keepScreenOn on main activity to prevent sleeping while downloading