Converted imgs to url and extracted CheckedButton from DeleteButton.