7 Segment LED reverse voltage problem

Ok, thanks a lot. I've done that, but now my arduino just resets everynow and then. I gonna check if it is my computer or something else.