Addind delete alarm functionality