This method will set the currently connected connector as lastUsedConnector in the localstorage for future references.