make the agent picker remember the previous value

from:

https://github.com/Javran/Lightning-Browser/commit/660d4f0e0406acae08de50666f922e18df6223a5