Added support for Android API level 7 and above and added code to set wallpapers randomly