SELECTED_URI variable + allow variable replacing in window title in both states