add clickEvent of PencilBtn