Fix #18 and allow clearing device selection on alarm