Refactor replies edit view