Save selection in url hash