key released added to stop robot on when key isn't pushed