Adding support for Android < 3.0