Deleting alarm works properly