Set delete works button action