WP-1575 Functionality to set the preview icon