clear and restore notifications