Write to selection clipboard from setTimeout

This is so that in progress transactions aren't written to the
selection clipboard.