Update gradle plugin and build tools
Handle exception and retry setting wallpaper