Cleanup unused code

Deletion was put back in main list activity