added resetwebcam functionality