Beginner's Robotic Arm

hello once again!

i managed to run everything up..but i have one problem, my DC Motor keeps on moving even if its assigned case value isnt called. why is this so???

thanks!