changed trash to button