Fixed bug created on removing Delete button