By clicking on the "Local Library" drop-down on the Library Panel, local and remote libraries can be selected.
By default, the local library is used. Once another library is selected, a dialog box appears if there are any elements that need to be removed from the canvas.
Make sure you saved your entity, because the library can be changed only with empty canvas. Once you attempt to select another library, a dialog will appear where you can clear the canvas or cancel the action.