revise loading of active program when new program is selected