Edit and Delete buttons working