What if the text in the clipboard is malformed? It should be quite common. Need more safety checks here.
Also I think it's better to make it flexible, what if we want to save address & value in the future, or maybe a list of them? My suggestion is use something like JSON.