JBIDE-16661 CordovaSim: Reimplementing "Restart" callback