set the running flag when applet starts