Sane management of local notifications