Use gradle BuildConfig for toggling the debug flag. Update APK