Updataed alarm setter class