Clean up duplicate code by moving it into ImpulseControlApplication as
static methods.
Actually set the system property to enable/disable the pulse
notification light setting.
Use one function for setting the value - don't try to figure out whether
it's a start/end event, just figure out based on the current time what
the setting should be and set it.