Don't send notifications when refresh is called manually

Doesn't really make any sense to send them when the user calls refresh, as they were sent when the actual change happened even when autorefresh is off.

@alazier @jpsim 
commitWriteTransaction sends a notification for the local thread directly.