Added example code for options panel.