When validating calendars, save new URL only for permanent redirects
The logic should be correct but sorry, I don't even know if this compiles. I'm new to Kotlin, Gradle, and Android development. Do you have build instruction somewhere?
./gradlew gives me
FAILURE: Build failed with an exception. * What went wrong: A problem occurred configuring project ':app'. > kotlin.KotlinNullPointerException (no error message)