Added edit event as button