double restore diagram bug is fixed

Double restore of a autosaved diagram is fixed to restore once, when opening studio.