Fix compilation with API 19, use Gradle
Fixed offerwall to work on some devices