Remove the preview state functionality