/**
  * Create the event through the EventBuilder.
  *
  * @return the event builder.
  */
 private EventBuilder createEvent() {
   UserCalendar calendar = (UserCalendar) spCalendar.getSelectedItem();
   EventBuilder eventBuilder = new EventBuilder(CalendarSmallApp.this);
   eventBuilder.populateBuilder(calendar, etTitle, cbAllDay, dateTimeStart, dateTimeEnd);
   eventBuilder.createEvent();
   eventBuilder.addReminder(15);
   return eventBuilder;
 }
 @Override
 public void onClick(View v) {
   if (isFormValid()) {
     switch (v.getId()) {
       case R.id.bt_add:
         CalendarSmallApp.this.createEvent();
         Toast.makeText(this, this.sumUpEvent(), Toast.LENGTH_LONG).show();
         CalendarSmallApp.this.finish();
         break;
       case R.id.bt_add_show:
         EventBuilder eventBuilder = CalendarSmallApp.this.createEvent();
         if (eventBuilder != null) {
           eventBuilder.showEvent();
         }
         CalendarSmallApp.this.finish();
         break;
       default:
         break;
     }
   }
 }