toggle button affects notification state