logic for local notifications