Added ocd.show event, to redraw app after showing it with js.