lms preview mode toggle improvement