hold and unhold the preview button