set title for on\off state