Implement time events.
Add actions: turn on and off the airplane mode.