Added dynamic objective function edit text generator