fix(edit icon): Fix strang issue where edit icon was displayed when not in editing mode