Temporarily add F10 to restart app programmatically