fix main to not trigger save on preview and blink the preview button