added code to remove recurring alarm