Added delete and rename buttons and functionality