Added save button
Check for duplicate previews