refactoding of cached outputs in OManager
finished method ui.switch