Removing delete button and fixed public activity