Automatic beer-opener, using a servo-motor solenoid and then the servo again

Here it iss. I changed the robot a little though but that doesn't do anything to the way it should be programmed.