Added change handlers for inputs and buttons. Added toRule() method to create RRule object and used it in the sample to populate readable text.