crash after notification is hidden fixed