added todate to caldate
added eventhandler for cancelbutton but still needs code
added code to add an exception but still needs code for setting the
repetition itsself