main activity add event activity