Adding Preview Handler Sample