finish edit button