🎨 Replace last activity comparator with Kotlin version