Removed duplicate TimeWidget instantiation code.