Changed minSdk to 5 because incompatibility with some methods