Remove the share link element when save state is applied again