Restore the original value of the selection option

I was looking at the code and I noticed that you store the 'selection' option for changing it, but never restore it to the original value.