added visibility modifier to edit button