Finish alarm functionality.