Changed minSdkVersion from 8 to 9