minor refactor in DummyApplet