add button edit and transition