Set window title
Add window icon
Simplify `set_alarm` definition