selection should be sent after refresh happens