Hiding replace and delete button

If replaced is true