cleanup

fun cleanup()

Clears the event when the location is changed (another activity is opened).