Write the missing line of code that is needed for the receiver to work correctly.
val receiver: BroadcastReceiver = YourBroadcastReceiver()
val filter = IntentFilter().apply {
addAction(Intent.ACTION_AIRPLANE_MODE_CHANGED)
addAction(Intent.ACTION_DATE_CHANGED)
}
// Something is missing here