fixed type for edit button and button color