accept and cancel notifications