Controlling a DC motor for a certain amount of time

I got it working by including another "Wait4Press" state. So now i have 2 states that are waiting for input, each for every action..