partial set-alarm implementation

we can double-tap and create the right page, and did a bunch of cleanup
work in the process.
the real work (actually defining and issuing an alarm) is left.